<template>
    <div>
        	<mc-image-upload style="width:200px;height: 50px" @on-success="success"
            :show-file-list="true" :mc-single-file="false" :mc-calc-ctx="true" v-model="value" list-type="text"
            action="magical_lowcode/manager/web/upload" multiple>

          上传</mc-image-upload>
       <!--
        <mc-image-net-upload style="width:200px;" @on-success="success"
            :show-file-list="true" :mc-single-file="false" :mc-calc-ctx="true" v-model="value" mc-chooser-root="\\DESKTOP-K25GSIQ\tmp"
            action="magical_lowcode/openapi/upload" proxy-domain="http://localhost:18888/youyapi/">
          上传</mc-image-net-upload>
-->
         <!-- <el-button @click="view">查看</el-button> -->
    </div>
</template>

<script>
import McImageUpload from './components/McImageUpload'
import McImageNetUpload from './components/McImageNetUpload'
export default {
    data(){
        return {
            value : "",//upload/tmp/logo.png,upload/tmp/logo.png
		    }
    },
    components:{
        McImageUpload,
        McImageNetUpload
    },
    methods : {
        view:function(){
            console.log(this.value)
        },
      success(res){
          console.log(res)
      }
    }
}
</script>

<style>

</style>
